package com.team.recruitment_management_system.mapper;

import com.team.recruitment_management_system.pojo.entity.Tag;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author 86147
* @description 针对表【tag(标签表)】的数据库操作Mapper
* @createDate 2024-03-21 20:28:40
* @Entity com.team.recruitment_management_system.pojo.entity.Tag
*/
@Mapper
public interface TagMapper extends BaseMapper<Tag> {

    @Select("select * from tag where name=#{name};")
    Tag selectByname(String name);

    @Select("select * from tag")
    List<Tag> getAll();
}




